#ifndef TEXTURELOADER_H_
#define TEXTURELOADER_H_

#include <GL/gl.h>
#include "model/objectModel/texture.h"

class TextureLoader{
	private:
		GLint _wrap_s;
		GLint _wrap_t;
		GLint _mag_filter;
		GLint _min_filter;

		GLuint _id;
		bool loaded;
	public:
		TextureLoader(	GLint wrap_s=GL_REPEAT,
						GLint wrap_t=GL_REPEAT,
						GLint mag_filter=GL_LINEAR,
						GLint min_filter=GL_LINEAR);

		virtual ~TextureLoader();

		virtual void load(Texture& tex);

		GLuint id(){ return _id; }
};

#endif /* TEXTUREIMPL_H_ */
